﻿using System;
using System.Threading;

namespace MuZa
{
    public class WatchProcess
    {
        public void ShowMessage()
        {
            for (int i = 0; i < 50; i++)
            {
                String str = "Time " + DateTime.Now.ToLongTimeString();
                Console.WriteLine(str);
                Thread.Sleep(1000);
            }

            Thread.CurrentThread.Abort();
        }
    }
}